<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>


</head>
<body>
	<div id="capitalreg_panel" class="easyui-panel" title="插件下载" style="width:100%;height:400px;padding:10px;">
		<table id="button-bar" style="width:60%;margin:0 auto">
			<tr>
				<td><a  style="width: 160px" href="plugins_download?filename=VHFx64.rar" class="easyui-linkbutton" data-options="iconCls:'icon-large-uhf',size:'large',iconAlign:'top'">UHF读卡器驱动(x64)</a></td>
				<td><a  style="width: 160px" href="plugins_download?filename=VHFx86.rar" class="easyui-linkbutton" data-options="iconCls:'icon-large-uhf',size:'large',iconAlign:'top'">UHF读卡器驱动(x86)</a></td>
				<td><a  style="width: 160px" href="plugins_download?filename=NDP451-KB2858728-x86-x64.3505182529.exe" class="easyui-linkbutton" data-options="iconCls:'icon-large-microsoft',size:'large',iconAlign:'top'">.NET Framework 4.5</a></td>
				<td><a  style="width: 160px" href="plugins_download?filename=app.apk" class="easyui-linkbutton" data-options="iconCls:'icon-large-pda',size:'large',iconAlign:'top'">PDA程序</a></td>
			</tr>   
	        
	    </table>
		<input id="sendstr" data-options="multiline:true" style="width:100%;height:60px;display:none"></input>
	    <div style="text-align:center;padding:5px;margin-top:10px;display:none">
	    	<a id="btn_sb" href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm()">提交</a>
	    	<a href="javascript:void(0)" style="margin-left:50px" class="easyui-linkbutton" onclick="clearForm()">清空</a>
	    </div>
	</div>

</body>
<script>
$(document).ready(function(){
	$.parser.parse("#capitalreg_panel");

});

function downloadplugin(filename){
	$.ajax({
		url : "plugins_download",
		type : "get",
		data : filename,
		dataType : "text",
		success : function(msg) {			
			
		},
        error : function(e){
            alert(e.status);
            alert(e.responseText);
        }
	});
}

function submitForm(){
	datastring = $('#sendstr').val();
	debugger;
	$.ajax({
		contentType: "application/json;charset=UTF-8",
		url : "checkitems.do?",
		type : "post",
		data : datastring,
		dataType : "json",
		success : function(msg) {
			debugger;
			if(msg.status == "1"){
				
			}else{
				$.messager.alert('警告',msg.desc,'warning');
			}
			
		},
        error : function(e){
            alert(e.status);
            alert(e.responseText);
        }
	});
}


</script>
</html>